package cn.yangliu.nacos.management.model;

import javax.validation.constraints.NotNull;

import static cn.yangliu.nacos.comm.constant.GlobalValidateConstants.DATA_ID_MISS;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * The type of nacos.
 *
 * @author 问道于盲
 * @date 2020 -01-01
 */
@Data
public class RoleUpdateModel extends RoleInsertModel {

    /**
     * current class instance's member.
     * The Id.
     */
    @ApiModelProperty(value = "角色id", required = true, example = "1")
    @NotNull(message = DATA_ID_MISS)
    private Long id;

}
